package cn.changshengjue.dakong.api;

import java.util.List;
import java.util.Map;

import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;

import cn.changshengjue.dakong.bean.setting;

public interface api {
	public Map<String, setting> getSetting();

	public Double getProbability(String probability, Player player);

	public Double getDamageProbability(String damageProbability, Player player);

	public int getYiKaiKong(String replaceLore, List<String> lore);

	public int getItemLevel(ItemStack item);

	public String getLuckyResult(String lucky);

	public boolean isFB(String name);

	public boolean isFBNumber(String fbyml, Player p);

	public ItemStack getFB(String fbyml);
}
